package cc.yaomm.service.basic.controller.common.vo;

import cc.yaomm.common.basic.lang.vo.BaseParamVO;
import cc.yaomm.common.biz.enums.SystemEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * Created by XQL on 2021/6/9.
 */
@Data
@ApiModel
public class ImgCaptchaParamVO extends BaseParamVO {

    @ApiModelProperty("系统类型")
    @NotNull(message = "系统类型不能为空")
    private SystemEnum system;

    @ApiModelProperty("验证码ID")
    @NotBlank(message = "验证码ID不能为空")
    @Size(min = 36, max = 36, message = "验证吗ID长度不正确")
    private String uuid;

}
